<script type="text/javascript">
    $(function(){
        $("#bqckcktz").datagrid({
            url:encodeURI(encodeURI('${base}/tjbb/ywsfcbb/bqckcktzlist?gsid=${(gsid)!}&ck_id=${(ck_id)!}&wz_type=${(wz_type)!}&pz=${(pz)!}&select_type=${(select_type)!}&begindate=${(begindate?date)!}&enddt=${(enddt?date)!}'))
        })
    })
</script>
<div style="width:100%;height:100%;">
    <div id="bqckcktz_toolbar">
    <#--    <div class="textcon">
            <table class="tb">

            </table>
        </div>-->
    </div>
    <table id="bqckcktz" class="easyui-datagrid" data-options="
       <#-- url:'${base}/tjbb/ywsfcbb/bqckcktz',-->
       <#-- url:'${base}/tjbb/ywsfcbb/bqckcktzlist?gsid=${(gsid)!}&ck_id=${(ck_id)!}&wz_type=${(wz_type)!}&pz=${(pz)!}&select_type=${(select_type)!}&begindate=${(begindate?date)!}&enddt=${(enddt?date)!}',-->
        fit:true,
        <#--pagination:true,-->
        rownumbers: true,
        singleSelect:true,
        showFooter:true,
        fitColumns:true,
        pageNumber: 1,
        toolbar:'#bqckcktz_toolbar'
">
        <thead>
        <tr>
            <th data-options="field:'GS_NAME',width:10,align:'center'">公司名称</th>
            <th data-options="field:'DJ_TYPE',width:12,align:'center'">单据类型</th>
            <th data-options="field:'DJH',width:10,align:'center'">单据号</th>
            <th data-options="field:'SJ',width:10,align:'center'">时间</th>
            <th data-options="field:'SFTZD',width:10,align: 'center'">是否调整单</th>
            <th data-options="field:'CODE',width:15,align:'center'">物资编码</th>
        <#--  <th data-options="field:'OLDCODE',width:89,align: 'center'">老物资编码</th>-->
            <th data-options="field:'WZ_NAME',width:6,align: 'center'">物资名称</th>
            <th data-options="field:'GGXH',width:10,align: 'center'">规格型号</th>
            <th data-options="field:'TH',width:10,align:'center'">图号</th>
            <th data-options="field:'CKSL',width:10,formatter:formatSlForHtml,align: 'right'">出库数量</th>
            <th data-options="field:'HSJ',width:10,formatter:formatSlForHtml,align: 'right'">单价</th>
            <th data-options="field:'JE',width:10,formatter:formatSlForHtml,align: 'right'">金额</th>
            <th data-options="field:'CK_NAME',width:10,align: 'center'">仓库</th>

        </tr>
        </thead>
    </table>
</div>